package com.rimi.service;

import com.rimi.bean.News;
import com.rimi.commons.CommonResult;

import java.util.List;

/**
 * @author liHaiYang
 * @version V1.0
 * @Description: (用一句话描述该文件做什么)
 * @date 2021/7/9 15:14
 */
public interface NewsService {
    int addNewsByUserId(Integer newsId, Integer userId);

    CommonResult deleteNewsByNewsId(Integer newsId);


    List<News> showNewsByUserId(Integer userId);
}
